package com.qfedu.mapper;

import com.qfedu.entity.OrderEntity;
import com.qfedu.pojo.OrderPojo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderPojoMapper {
    public Boolean insertOrder(OrderEntity orderEntity);
    //更新订单状态
    public Boolean updateStatus(@Param("oid") String oid,@Param("ostatus") int ostatus);
    //查询订单
    public List<OrderEntity> queryOrderById(OrderEntity orderEntity);
    //后台查询订单
    public List<OrderEntity> queryAllorderHou(OrderEntity orderEntity);
}
